from zope.interface import Interface

class IStore(Interface):

    def add(**kw):
        """Add item to store
        """

    def remove(uid):
        """Remove item identified by uid
        """

class ISearch(Interface):

    def search(query, max_items, partial, combiner):
        """Search
        """

    def buildQuery(**kw):
        """Build a query for searching
        """
